package com.infore.statisticsAndAlarm.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

import com.infore.statisticsAndAlarm.entity.KnowledgeBase;
import com.infore.statisticsAndAlarm.select.util.PageObject;
import com.infore.statisticsAndAlarm.util.ResultEntity;

public interface IKnowledegBaseService {

	ResultEntity query(String knowledgeType,String fileType,String keyWorld,PageObject pageObject);

	ResultEntity add(MultipartFile file, String knowledgeType,String fileType,String fileDescribe, String fileNmae);

	ResultEntity delete(String ids);

	List<KnowledgeBase> judgeBases(String knowledgeType,String fileType,String keyWorld);

	ResultEntity download(HttpServletResponse response, String id);

}
